import request from '@/utils/request'

// 查询执行计划班级列表
export function listPlanclass(query) {
  return request({
    url: '/edu/planclass/list',
    method: 'get',
    params: query
  })
}

// 查询执行计划班级详细
export function getPlanclass(id) {
  return request({
    url: '/edu/planclass/' + id,
    method: 'get'
  })
}

// 新增执行计划班级
export function addPlanclass(data) {
  return request({
    url: '/edu/planclass',
    method: 'post',
    data: data
  })
}

// 修改执行计划班级
export function updatePlanclass(data) {
  return request({
    url: '/edu/planclass',
    method: 'put',
    data: data
  })
}

// 删除执行计划班级
export function delPlanclass(id) {
  return request({
    url: '/edu/planclass/' + id,
    method: 'delete'
  })
}
